package com.xinyou.u8c.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.xinyou.u8c.entity.AssociatedCertificate;
import com.xinyou.u8c.entity.GlAccvouch;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinyou.u8c.entity.GlAccvouchOne;
import com.xinyou.u8c.entity.VouchPagination;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chq
 * @since 2023-08-23
 */
@Mapper
@DS("slave_1")
public interface GlAccvouchMapper extends BaseMapper<GlAccvouch> {

    List<GlAccvouchOne> selectByIds(Long[] ids);

    List<AssociatedCertificate> selectAllKey();

    List<AssociatedCertificate> selectAllKeyOne();
}
